package com.atguigu.educenter.service;

import com.atguigu.educenter.entity.UcenterMember;
import com.atguigu.educenter.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author wxc
 * @since 2021-07-08
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    /**用户登录**/
    String login(UcenterMember member);

    /**用户注册**/
    void register(RegisterVo registerVo);

    /**根据openid进行查询**/
    UcenterMember getOpenId(String openid);

    /**查询某一天的注册人数**/
    Integer countRegisterDay(String day);
}
